Arquivo usado para testar o programa pasdoc.

{ @abstract(This is a test of Markdown syntax) Correct lists

  • list item #1.1
  • list item #1.2

end list

  • list item #2.1
  • list item #2.2

end list

  • list item #3

end list

  • list item #4
  1. list item #5.1
  2. list item #5.2
  3. list item #5.10

Simple list with multiline text

  • item 6.1 text text text

  • item 6.2

    item text

end list

List with nested list

  • item 7.1 text

    • item 7.1.1 text

    text2

List with more nesting

  • item 8.1
  • item 8.1.1
  • item 8.1.1.1
text 8.1.1
  • item 8.1.2
  • item 8.1.2.1

text 8.1

end list

You can even mix markdown and PasDoc tags

@unorderedList(

  • list item #8.1
  • list item #8.2 )

Incorrect lists

not a list

1not a list

1 not a list

1.not a list

Emphasis, aka italics, with asterisks or underscores.

Strong emphasis, aka bold, with asterisks or underscores.

Some bold text.

Some bold and italic text.

Some some bold and italic and italic and italic once again text.

Some italic text.

Some bold text with some tags: My name is @name, some @code(begin end) and a link to me: @link(ok_markdown).

*markers could be escaped

and also escaped at end* of a word

or placed inside_word or placed_inside_word_multiple_times or at the end_

Multiplications are OK: ABC*D and with spaces too: A * B * C * D

underscore _ is used to name some deprecated thing: something_

Some inline code, some **formatting** _inside_ code

Some preformatted code:

```pascal
program Foo;
  Some long code
  with
  syntax highlight
```

Some Pascal code:

```pascal
program Foo;
  Some long code
  with
  syntax highlight
```

Correct URLs:

Some one-line descr

Some multi-line descr

Escaped [] descr

\

a\

Bracket URL

Incorrect URLs:

(http://example)

[Some descr] (http://example)

[Some descr](http://example

[Bug fix: URL preceeded by block in square brackets] descr

} unit ok_markdown;

interface

const // Bug fix: URL at the end of comment foo = 1;

implementation

end.

🔝🔝